// app.js
import {
  Login
} from "./models/login";

App({
  async onLaunch() {},
  getToken() {
    return new Promise((resolve, reject) => {
      Login.doApiTouristLogin()
        .then((data) => {
          resolve(data)
        })
        .catch((error)=>{
          reject(error)
        })
    })
  }
})
